{% extends "::base.html.twig" %}

{% block headerContent %}
	<div id="spinner-content" class="hide">
		<div class="contenedor alert-box success">
			<span class="spinner"></span>
			<span class="mensaje"></span>
		</div>
	</div>
	<header>
		<div class="header-bg">
			<div id="header">
				<div class="row">
					{% block header %}
						{% include "AmistateBundle:Default:header.html.twig" %}
					{% endblock %}
				</div>
			</div>
		</div>
	</header>
{% endblock %}


{% block body %} {% endblock %}


{% block footer %}
	{{ render(controller("AmistateBundle:Default:footer")) }}
    {% if not is_granted('ROLE_USER') %}
        {% include "AmistateBundle:Default:login_panel.html.twig" %}
		{{ render(controller("AmistateBundle:Default:registerPanel")) }}
        {% include "AmistateBundle:Default:forgot_panel.html.twig" %}
    {% else %}
		{%if '@amistate-not-email.com' in app.user.email %}
			{% include "AmistateBundle:Default:email_empty.html.twig" %}
		{% endif %}
    {% endif %}
	
{% endblock %}



